You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <paraminfo>
    <modules>
      <module classname="ApiParse" description="Parses wikitext and returns parser output" examples="api.php?action=parse&amp;text={{Project:Sandbox}}" version="ApiParse: $Id: ApiParse.php 109694 2012-01-21 21:44:21Z reedy $" prefix="" readrights="" name="parse">
        <helpurls>
          <helpurl>https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse</helpurl>
        </helpurls>
        <allexamples>
          <example>api.php?action=parse&amp;text={{Project:Sandbox}}</example>
        </allexamples>
        <parameters>
          <param name="title" description="Title of page the text belongs to" default="API" type="string" />
          <param name="text" description="Wikitext to parse" type="string" />
          <param name="summary" description="Summary to parse" type="string" />
          <param name="page" description="Parse the content of this page. Cannot be used together with text and title" type="string" />
          <param name="pageid" description="Parse the content of this page. Overrides page" type="integer" />
          <param name="redirects" description="If the page or the pageid parameter is set to a redirect, resolve it" default="false" type="boolean" />
          <param name="oldid" description="Parse the content of this revision. Overrides page and pageid" type="integer" />
          <param name="prop" description="Which pieces of information to get&#10; text           - Gives the parsed text of the wikitext&#10; langlinks      - Gives the language links in the parsed wikitext&#10; categories     - Gives the categories in the parsed wikitext&#10; categorieshtml - Gives the HTML version of the categories&#10; languageshtml  - Gives the HTML version of the language links&#10; links          - Gives the internal links in the parsed wikitext&#10; templates      - Gives the templates in the parsed wikitext&#10; images         - Gives the images in the parsed wikitext&#10; externallinks  - Gives the external links in the parsed wikitext&#10; sections       - Gives the sections in the parsed wikitext&#10; revid          - Adds the revision ID of the parsed page&#10; displaytitle   - Adds the title of the parsed wikitext&#10; headitems      - Gives items to put in the &lt;head&gt; of the page&#10; headhtml       - Gives parsed &lt;head&gt; of the page&#10; iwlinks        - Gives interwiki links in the parsed wikitext&#10; wikitext       - Gives the original wikitext that was parsed" default="text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle" multi="" limit="50" lowlimit="50" highlimit="500">
            <type>
              <t>text</t>
              <t>langlinks</t>
              <t>languageshtml</t>
              <t>categories</t>
              <t>categorieshtml</t>
              <t>links</t>
              <t>templates</t>
              <t>images</t>
              <t>externallinks</t>
              <t>sections</t>
              <t>revid</t>
              <t>displaytitle</t>
              <t>headitems</t>
              <t>headhtml</t>
              <t>iwlinks</t>
              <t>wikitext</t>
            </type>
          </param>
          <param name="pst" description="Do a pre-save transform on the input before parsing it&#10;Ignored if page, pageid or oldid is used" default="false" type="boolean" />
          <param name="onlypst" description="Do a pre-save transform (PST) on the input, but don&#039;t parse it&#10;Returns the same wikitext, after a PST has been applied. Ignored if page, pageid or oldid is used" default="false" type="boolean" />
          <param name="uselang" description="Which language to parse the request in" type="string" />
          <param name="section" description="Only retrieve the content of this section number" type="string" />
          <param name="disablepp" description="Disable the PP Report from the parser output" default="false" type="boolean" />
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="params" info="The page parameter cannot be used together with the text and title parameters" />
          <error code="params" info="The text parameter should be passed with the title parameter. Should you be using the &quot;page&quot; parameter instead?" />
          <error code="missingrev" info="There is no revision ID oldid" />
          <error code="permissiondenied" info="You don&#039;t have permission to view deleted revisions" />
          <error code="missingtitle" info="The page you specified doesn&#039;t exist" />
          <error code="nosuchsection" info="There is no section sectionnumber in page" />
          <error code="nosuchpageid" info="There is no page with ID $1" />
          <error code="invalidtitle" info="Bad title ``title&#039;&#039;" />
        </errors>
      </module>
    </modules>
    <querymodules>
      <module classname="ApiQueryAllpages" description="Enumerate all pages sequentially in a given namespace" examples="Simple Use&#10; Show a list of pages starting at the letter &quot;B&quot;&#10;  api.php?action=query&amp;list=allpages&amp;apfrom=B&#10;Using as Generator&#10; Show info about 4 pages starting at the letter &quot;T&quot;&#10;  api.php?action=query&amp;generator=allpages&amp;gaplimit=4&amp;gapfrom=T&amp;prop=info&#10; Show content of first 2 non-redirect pages begining at &quot;Re&quot;&#10;  api.php?action=query&amp;generator=allpages&amp;gaplimit=2&amp;gapfilterredir=nonredirects&amp;gapfrom=Re&amp;prop=revisions&amp;rvprop=content" version="ApiQueryAllpages: $Id: ApiQueryAllpages.php 104449 2011-11-28 15:52:04Z reedy $" prefix="ap" readrights="" generator="" name="allpages" querytype="list">
        <helpurls>
          <helpurl>https://www.mediawiki.org/wiki/API:Allpages</helpurl>
        </helpurls>
        <allexamples>
          <example>Simple Use</example>
          <example> Show a list of pages starting at the letter &quot;B&quot;</example>
          <example>  api.php?action=query&amp;list=allpages&amp;apfrom=B</example>
          <example>Using as Generator</example>
          <example> Show info about 4 pages starting at the letter &quot;T&quot;</example>
          <example>  api.php?action=query&amp;generator=allpages&amp;gaplimit=4&amp;gapfrom=T&amp;prop=info</example>
          <example> Show content of first 2 non-redirect pages begining at &quot;Re&quot;</example>
          <example>  api.php?action=query&amp;generator=allpages&amp;gaplimit=2&amp;gapfilterredir=nonredirects&amp;gapfrom=Re&amp;prop=revisions&amp;rvprop=content</example>
        </allexamples>
        <parameters>
          <param name="from" description="The page title to start enumerating from" type="string" />
          <param name="to" description="The page title to stop enumerating at" type="string" />
          <param name="prefix" description="Search for all page titles that begin with this value" type="string" />
          <param name="namespace" description="The namespace to enumerate" default="0" type="namespace" />
          <param name="filterredir" description="Which pages to list" default="all">
            <type>
              <t>all</t>
              <t>redirects</t>
              <t>nonredirects</t>
            </type>
          </param>
          <param name="minsize" description="Limit to pages with at least this many bytes" type="integer" />
          <param name="maxsize" description="Limit to pages with at most this many bytes" type="integer" />
          <param name="prtype" description="Limit to protected pages only" multi="" limit="50" lowlimit="50" highlimit="500">
            <type>
              <t>edit</t>
              <t>move</t>
              <t>upload</t>
            </type>
          </param>
          <param name="prlevel" description="The protection level (must be used with apprtype= parameter)" multi="" limit="50" lowlimit="50" highlimit="500">
            <type>
              <t />
              <t>autoconfirmed</t>
              <t>sysop</t>
            </type>
          </param>
          <param name="prfiltercascade" description="Filter protections based on cascadingness (ignored when apprtype isn&#039;t set)" default="all">
            <type>
              <t>cascading</t>
              <t>noncascading</t>
              <t>all</t>
            </type>
          </param>
          <param name="limit" description="How many total pages to return." default="10" type="limit" max="500" highmax="5000" min="1" />
          <param name="dir" description="The direction in which to list" default="ascending">
            <type>
              <t>ascending</t>
              <t>descending</t>
            </type>
          </param>
          <param name="filterlanglinks" description="Filter based on whether a page has langlinks" default="all">
            <type>
              <t>withlanglinks</t>
              <t>withoutlanglinks</t>
              <t>all</t>
            </type>
          </param>
          <param name="prexpiry" description="Which protection expiry to filter the page on&#10; indefinite - Get only pages with indefinite protection expiry&#10; definite - Get only pages with a definite (specific) protection expiry&#10; all - Get pages with any protections expiry" default="all">
            <type>
              <t>indefinite</t>
              <t>definite</t>
              <t>all</t>
            </type>
          </param>
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="invalidtitle" info="Bad title ``title&#039;&#039;" />
          <error code="invalidtitle" info="Bad title ``key&#039;&#039;" />
          <error code="params" info="Use &quot;gapfilterredir=nonredirects&quot; option instead of &quot;redirects&quot; when using allpages as a generator" />
          <error code="params" info="prlevel may not be used without prtype" />
        </errors>
      </module>
      <module classname="ApiQuerySiteinfo" description="Return general information about the site" examples="api.php?action=query&amp;meta=siteinfo&amp;siprop=general|namespaces|namespacealiases|statistics&#10;api.php?action=query&amp;meta=siteinfo&amp;siprop=interwikimap&amp;sifilteriw=local&#10;api.php?action=query&amp;meta=siteinfo&amp;siprop=dbrepllag&amp;sishowalldb=" version="ApiQuerySiteinfo: $Id: ApiQuerySiteinfo.php 104449 2011-11-28 15:52:04Z reedy $" prefix="si" readrights="" name="siteinfo" querytype="meta">
        <helpurls>
          <helpurl>https://www.mediawiki.org/wiki/API:Meta#siteinfo_.2F_si</helpurl>
        </helpurls>
        <allexamples>
          <example>api.php?action=query&amp;meta=siteinfo&amp;siprop=general|namespaces|namespacealiases|statistics</example>
          <example>api.php?action=query&amp;meta=siteinfo&amp;siprop=interwikimap&amp;sifilteriw=local</example>
          <example>api.php?action=query&amp;meta=siteinfo&amp;siprop=dbrepllag&amp;sishowalldb=</example>
        </allexamples>
        <parameters>
          <param name="prop" description="Which sysinfo properties to get:&#10; general               - Overall system information&#10; namespaces            - List of registered namespaces and their canonical names&#10; namespacealiases      - List of registered namespace aliases&#10; specialpagealiases    - List of special page aliases&#10; magicwords            - List of magic words and their aliases&#10; statistics            - Returns site statistics&#10; interwikimap          - Returns interwiki map (optionally filtered)&#10; dbrepllag             - Returns database server with the highest replication lag&#10; usergroups            - Returns user groups and the associated permissions&#10; extensions            - Returns extensions installed on the wiki&#10; fileextensions        - Returns list of file extensions allowed to be uploaded&#10; rightsinfo            - Returns wiki rights (license) information if available&#10; languages             - Returns a list of languages MediaWiki supports&#10; skins                 - Returns a list of all enabled skins&#10; extensiontags         - Returns a list of parser extension tags&#10; functionhooks         - Returns a list of parser function hooks&#10; showhooks             - Returns a list of all subscribed hooks (contents of $wgHooks)" default="general" multi="" limit="50" lowlimit="50" highlimit="500">
            <type>
              <t>general</t>
              <t>namespaces</t>
              <t>namespacealiases</t>
              <t>specialpagealiases</t>
              <t>magicwords</t>
              <t>interwikimap</t>
              <t>dbrepllag</t>
              <t>statistics</t>
              <t>usergroups</t>
              <t>extensions</t>
              <t>fileextensions</t>
              <t>rightsinfo</t>
              <t>languages</t>
              <t>skins</t>
              <t>extensiontags</t>
              <t>functionhooks</t>
              <t>showhooks</t>
            </type>
          </param>
          <param name="filteriw" description="Return only local or only nonlocal entries of the interwiki map">
            <type>
              <t>local</t>
              <t>!local</t>
            </type>
          </param>
          <param name="showalldb" description="List all database servers, not just the one lagging the most" default="false" type="boolean" />
          <param name="numberingroup" description="Lists the number of users in user groups" default="false" type="boolean" />
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="invalidtitle" info="Bad title ``title&#039;&#039;" />
          <error code="invalidtitle" info="Bad title ``key&#039;&#039;" />
          <error code="includeAllDenied" info="Cannot view all servers info unless $wgShowHostnames is true" />
        </errors>
      </module>
    </querymodules>
  </paraminfo>
</api>